package cn.tramy.pinxian.wind.eventstore.query.entry

import java.io.Serializable
import java.time.LocalDateTime
import javax.persistence.Entity
import javax.persistence.Id


@Entity
data class DomainEventEntry(@Id val uid: String, val payload: String,val payloadType:String, val aggregateId: String, val aggregateType: String, val createdAt: LocalDateTime, val metaData: String) : Serializable